#ifndef							__APINETWORK_H__
#	define						__APINETWORK_H__

#	include						"IApiNetwork.h"
#	include						"IOrder.h"
#	include						"NetworkManager.h"

class							ApiNetwork : public IApiNetwork
{
public:
	ApiNetwork(NetworkManager &);
	virtual ~ApiNetwork();

private:
	NetworkManager				&_controller;

public:
	virtual void				UdpSend(IOrder*);
	virtual void				TcpSend(IOrder*);
	virtual IOrder				*getIOrder() const;
	virtual void				ConnectToClient(std::string, std::string);
	virtual void				disconnect(unsigned int);

};

#endif							// !__APINETWORK_H__
